<h1>
	Rezerwacja sali
	<span class="breadcrumbs">
		&lt; <a href="<?= $ro->gen('reservation.browse', array('hall' => $t['hall']['id'])) ?>"><?= e($t['hall']['name']) ?></a>
		&lt; <a href="<?= $ro->gen('reservation.halls') ?>">Wybór sali</a>
	</span>
</h1>
<form id="addReservation" class="form" action="<?= $ro->gen(null) ?>" method="post">
	<input type="hidden" name="referer" value="" />
	<fieldset>
		<ul class="fields">
			<li>
				<label for="reservation-name"><kbd>S</kbd>ala:</label>
				<?= e($t['hall']['name']) ?>
			</li>
			<li>
				<ul class="horizontal">
					<li>
						<label for="reservation-date"><kbd>D</kbd>ata<span class="required" title="Wymagane">*</span>: <span>YYYY-MM-DD</span></label>
						<input id="reservation-date" name="reservation[date]" class="date" type="text" value="" maxlength="10" accesskey="d" title="Data"/>
					</li>
					<li>
						<label for="reservation-from">Od<span class="required" title="Wymagane">*</span>: <span>HH:SS</span></label>
						<input id="reservation-from" name="reservation[from]" class="time" type="text" value="" maxlength="5" />
					</li>
					<li>
						<label for="reservation-to">Do<span class="required" title="Wymagane">*</span>: <span>HH:SS</span></label>
						<input id="reservation-to" name="reservation[to]" class="time" type="text" value="" maxlength="5" />
					</li>
				</ul>
				<input id="reservation-period" type="hidden" name="reservation[period]" value="" />
			</li>
			<li>
				<ul class="horizontal">
					<li>
						<label for="reservation-department"><kbd>W</kbd>ydział:</label>
						<input id="reservation-department" name="reservation[department]" type="text" value="" accesskey="w" title="Wydział"/>
					</li>
					<li>
						<label for="reservation-branch"><kbd>K</kbd>ierunek:</label>
						<input id="reservation-branch" name="reservation[branch]" type="text" value="" accesskey="k" title="Kierunek"/>
					</li>
					<li>
						<label for="reservation-year"><kbd>R</kbd>ok studiów:</label>
						<input id="reservation-year" name="reservation[year]" class="number" type="text" value="" accesskey="r" title="Rok studiów"/>
					</li>
				</ul>
			</li>
			<li>
				<ul class="horizontal">
					<li>
						<label for="reservation-subject"><kbd>P</kbd>rzedmiot:</label>
						<input id="reservation-subject" name="reservation[subject]" type="text" value="" accesskey="p" title="Przedmiot"/>
					</li>
					<li>
						<label for="reservation-lecturer"><kbd>O</kbd>soba prowadząca zajęcia<span class="required" title="Wymagane">*</span>:</label>
						<input id="reservation-lecturer" name="reservation[lecturer]" type="text" value="" accesskey="o" title="Osoba prowadząca zajęcia" />
					</li>
				</ul>
			</li>
			<li>
				<label for="reservation-description"><kbd>C</kbd>el rezerwacji:</label>
				<textarea id="reservation-description" name="reservation[description]" accesskey="c" title="Cel rezerwacji"></textarea>
			</li>
			<li>
				<ul class="actions">
					<li><input type="submit" value="Rezerwuj salę" /></li>
					<li><a href="<?= e($t['referer']) ?>">Anuluj</a></li>
				</ul>
			</li>
		</ul>
	</fieldset>
</form>
<script type="text/javascript">
	$(focusErroneousField);
</script>